import { View } from '@tarojs/components';
import { AtButton } from 'taro-ui';
import './index.scss';

export default function ({ onBuy = () => {}, buyText = '立即预约' }) {
  return (
    <View className="bottom-btns">
      <AtButton type="primary" onClick={onBuy}>
        {buyText}
      </AtButton>
    </View>
  );
}
